<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" >
<html>
<head>
<title>JDNBB</title>

<script type="text/javascript" src="/javascripts/scriptaculous/lib/prototype.js" ></script>
<script type="text/javascript" src="/javascripts/scriptaculous/src/scriptaculous.js" ></script>
<script type="text/javascript" src="/javascripts/windows/javascripts/window.js" ></script>
<script type="text/javascript" src="/javascripts/windows/javascripts/debug.js" ></script>
<%= stylesheet_link_tag "jdnbb" , :media => "all" %>
<link href="/stylesheets/default.css" rel="stylesheet" type="text/css"></link>
<link href="/stylesheets/mac_os_x.css" rel="stylesheet" type="text/css"></link>
<link href="/stylesheets/alphacube.css" rel="stylesheet" type="text/css"></link>
<link href="/stylesheets/debug.css" rel="stylesheet" type="text/css"></link>

</head>
<body >

    <script>
        var index= 0;
        var contentWin = null;
        
        // Debug window
        //showDebug();
        
        // Window with scrollable text
        
        winMenuSystem = new Window('winMenuSystem', {className: "mac_os_x",  top:50, left:0, width:140, height:100, zIndex: 100, minimizable:true,maximizable:false, closable: false,resizable:false, title: "<font align=\"left\"> System</font>", showEffect:Element.show, hideEffect: Effect.SwitchOff, draggable:true})        
       
        winMenuSystem.getContent().innerHTML= "<ul><li><a href=\"#\" onclick=\"new Ajax.Updater('main', '../jdnbb/desktop', {asynchronous:true, evalScripts:true}); return false;\">Desktop</a></li><li><a href=\"#\" onclick=\"new Ajax.Updater('main', '../jdnbb/home', {asynchronous:true, evalScripts:true}); return false;\">Home</a></li></ul>"
		winMenuSystem.show();
        
        winMenuReports = new Window('winMenuReports', {className: "mac_os_x",  top:200, left:0, width:140, height:100, zIndex: 100, minimizable:true,maximizable:false, closable: false,resizable: false, title: "<font align=\"left\"> System</font>", showEffect:Element.show, hideEffect: Effect.SwitchOff, draggable:true})        
        
        winMenuReports.getContent().innerHTML="<ul><li><a href=\"#\" onclick=\"new Ajax.Updater('main', '../jdnbb/report', {asynchronous:true, evalScripts:true}); return false;\">Reportes</a></li><li><a href=\"#\" onclick=\"new Ajax.Updater('main', '../estadisticas', {asynchronous:true, evalScripts:true}); return false;\">Estadisticas</a></li></ul></div>"
    	winMenuReports.show();
</script>

    <div id="contenedor" style="margin: 0px;" !align="center">
        <div id="topBar" > 
        	<table  cellspacing="0" cellpadding="0">
                <tr>
                    <td width="180" height="50" bgcolor="#000000" align="center"> <font color="#ffffff">JDNBB</font>
                    </td>
                    <td>
                    </td>
                    <td>
                    </td>
                    <td>
                    </td>
                </tr>
			</table>
		</div>
		<!-- <div>	
		<table class="m_table_principal" border="0" cellspacing="0" cellpadding="0">
			<tr>
				<td class="mac_os_x_nw"></td>
				<td class="mac_os_x_n"><div id="handle1"></div></td>
				<td class="mac_os_x_ne"></td>
			</tr>
			<tr>
				<td class="mac_os_x_w"></td>
				<td class="mac_os_x_content"> -->
					<div id="main"> 
						<%= yield :layout %>
					<div>
		<!--		</td>
				<td class="mac_os_x_e"></td>
			</tr>
			<tr >
				<td class="mac_os_x_sw"></td>
				<td class="mac_os_x_s"></td>
				<td class="mac_os_x_se"></td>
			</tr>
		</table>
		</div> -->
	</div>

</body>
</html>